from selenium import webdriver
from selenium.webdriver.common.by import By

#方式2，指定Chrome浏览器位置：options参数
#chrome_location,chrome浏览器的路径，要打开的谷歌浏览器的地址是哪里
chrome_location = r'E:\nmon\light_Chrome\chrome-win\chrome.exe'
options = webdriver.ChromeOptions()
options.binary_location=chrome_location



